package edu.suda.xsap.service;
import edu.suda.xsap.dto.MemberDto;
import edu.suda.xsap.entity.Member;
import edu.suda.xsap.entity.vo.IdVo;
import edu.suda.xsap.entity.vo.MemberCardVo;
import edu.suda.xsap.entity.vo.MemberVo;

import java.util.List;

public interface MemberService {
    void delete(Integer id);
    List<MemberDto> findAll();
    MemberDto findById(Integer id);
    IdVo save(Member member);
    void update(Member member);
    List<MemberVo> findByLimit(Integer limit, Integer offset);
    Integer findCount();
    List<MemberCardVo> findCardByMemberId(Integer memberId);
    Integer changeStatus(Integer id);
}
